package com.shigi.knapsack;

/**
 * Created by Miroslav Šiagi on 05/10/14.
 */
public class KnapsackItem {
    private int id;
    private int value;
    private int weight;
    private boolean isUsed;

    public KnapsackItem(int id) {
        this.id = id;
    }

    public int getWeight() {
        return weight;
    }

    public void setWeight(int weight) {
        this.weight = weight;
    }

    public int getValue() {
        return value;
    }

    public void setValue(int value) {
        this.value = value;
    }

    public int getId() {
        return id;
    }

    public boolean isUsed() {
        return isUsed;
    }

    public void setUsed(boolean isUsed) {
        this.isUsed = isUsed;
    }
}
